<cfparam name="request.blog.disqusname" default="">
<cfparam name="request.blog.sharethisid" default="">
<cfparam name="request.blog.enabledisqus" default="0">


<cfif isdefined('form.enabledisqus')>
  <cfinvoke component="cfcs.common.settings" method="writecsettings" c="blog" fname="settings.cfm" returnvariable="isok" />
  <div id="messages">Settings have been saved</div>
</cfif>
<cfoutput>
<form method="post" action="index.cfm?c=blog&a=settings" name="settingsform">
  <table width="700" border="0" cellspacing="0" cellpadding="6">
    <tr>
      <td width="200">#request.lang.blog.settings.label1#:</td>
      <td><select name="enabledisqus" id="enabledisqus">
      <option value="0" <cfif request.blog.enabledisqus IS 0>selected="selected"</cfif>>No</option>
      <option value="1" <cfif request.blog.enabledisqus IS 1>selected="selected"</cfif>>Yes</option>
      </select>	  </td>
    </tr>
    <tr>
      <td>#request.lang.blog.settings.label2#:</td>
      <td><input name="disqusname" type="text" id="disqusname" size="45" value="#request.blog.disqusname#"></td>
    </tr>
    <tr>
      <td>#request.lang.blog.settings.label3#:</td>
      <td><input name="sharethisid" type="text" id="sharethisid" size="45" value="#request.blog.sharethisid#"></td>
    </tr>    
    <tr>
      <td colspan="2"><input type="submit" value="#request.lang.blog.settings.button#" id="abutton" name="submitbutton"></td>
    </tr>
  </table>
</form>
</cfoutput>
